package com.douyang.dto;

import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class PayOrderDTO implements Serializable {
    @NotNull(message = "参数缺失")
    private Long userId;
    @NotNull(message = "参数缺失")
    private String userName;
    @NotNull(message = "参数缺失")
    private Integer goodsType;
    @NotNull(message = "参数缺失")
    private Long goodsId;

    @NotNull(message = "参数缺失")
    private String checkId;

}
